package sound;


import flyingpig.com.R;
import android.content.Context;
import android.view.MotionEvent;

public class SoundtrackPlayer {
	private SoundManager sm;
	
	public SoundtrackPlayer(Context c){
		sm = new SoundManager();
		sm.initSound(c);
		/*
		 * Add different sounds for different effects.
		 */
		sm.addSound(0,R.raw.flap);
		sm.addSound(1, R.raw.nails);
		sm.addSound(2, R.raw.piggy);
		sm.addSound(3, R.raw.mariogameover);
		
		
	}
	
	public void playFlapWings()
	{
		sm.playSound(0);
	}
	public void playScraping()
	{
		sm.playSound(1);
	}
	public void playMushroomCollision()
	{
		sm.playSound(2);
	}
	public void playGameOver()
	{
		sm.playSound(3);
	}
	
}
